package mspbots.cw.business.core.companies;

import lombok.*;
import mspbots.cw.business.core.BaseTenantEntity;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Table("task_cw_companies")
public class Company extends BaseTenantEntity {

    private Long companyId;
    private String zip;
    private String city;
    private String name;
    private String state;
    private String statusName;
    private Long countryId;
    private String countryName;
    private Long taxCodeId;
    private String taxCodeName;
    private String website;
    private Boolean leadFlag;
    private String faxNumber;
    private Long territoryId;
    private String territoryName;
    private String identifier;
    private String mobileGuid;
    private Long billingSiteId;
    private String billingSiteName;
    private Boolean deletedFlag;
    private String phoneNumber;
    private String addressLine1;
    private Long billingTermsId;
    private String billingTermsName;
    private LocalDateTime dateAcquired;
    private String accountNumber;
    private Double annualRevenue;
    private Long billToCompanyId;
    private String billToCompanyName;
    private String taxIdentifier;
    private Long timeZoneSetupId;
    private String timeZoneSetupName;
    private Long billingContactId;
    private String billingContactName;
    private Long defaultContactId;
    private String defaultContactName;
    private Boolean unsubscribeFlag;
    private Long territoryManagerId;
    private String territoryManagerName;
    private String vendorIdentifier;
    private Long invoiceDeliveryMethodId;
    private String invoiceDeliveryMethodName;
    private LocalDateTime lastUpdated;
    private LocalDateTime syncTime;
    private LocalDateTime dateEntered;
    private String companyTeamNames;
    private String companyTeamIds;
    private String contactNames;
    private String contactEmails;
    private String companyTypeIds;
    private String companyTypeNames;
    private String addressLine2;
    private String companyEntityTypeName;
    private String marketName;
    private String leadSource;
    private String currencyName;
    private String parentCompanyName;
    private String updatedBy;
    private Integer revenueYear;
    private Integer numberOfEmployees;

}
